package com.jy.bo.common.conf.vo;

import java.io.Serializable;

/**
 * @program: binary-option
 * @description 大盘数据节点
 * @author: binary
 * @create: 2020-06-17 16:27
 **/
public class MarketTimePrice implements Serializable {
    private static final long serialVersionUID = 3939539843003952243L;

    private String type;
    private String marketPrice;
    private Long marketTimestamp;
    /**
     * 业务时间戳(秒)
     */
    private Long businessTime;

    public MarketTimePrice() {
    }

    public MarketTimePrice(String type, String marketPrice, Long marketTimestamp, Long businessTime) {
        this.type = type;
        this.marketPrice = marketPrice;
        this.marketTimestamp = marketTimestamp;
        this.businessTime = businessTime;
    }

    public String getType() {
        return type;
    }

    public MarketTimePrice setType(String type) {
        this.type = type;
        return this;
    }

    public String getMarketPrice() {
        return marketPrice;
    }

    public MarketTimePrice setMarketPrice(String marketPrice) {
        this.marketPrice = marketPrice;
        return this;
    }

    public Long getMarketTimestamp() {
        return marketTimestamp;
    }

    public MarketTimePrice setMarketTimestamp(Long marketTimestamp) {
        this.marketTimestamp = marketTimestamp;
        return this;
    }

    public Long getBusinessTime() {
        return businessTime;
    }

    public MarketTimePrice setBusinessTime(Long businessTime) {
        this.businessTime = businessTime;
        return this;
    }
}
